[azure-build-cache] Expose loginFlowFailover in build-cache schema#5274
Merged
dmichon-msft merged 2 commits intomicrosoft:mainfrom Jul 12, 2025
Merged
[azure-build-cache] Expose loginFlowFailover in build-cache schema#5274dmichon-msft merged 2 commits intomicrosoft:mainfrom
dmichon-msft merged 2 commits intomicrosoft:mainfrom
Conversation
iclanton
approved these changes
Jul 9, 2025
D4N14L
approved these changes
Jul 9, 2025
rush-plugins/rush-azure-storage-build-cache-plugin/src/RushAzureStorageBuildCachePlugin.ts
Outdated
Show resolved
Hide resolved
bmiddha
approved these changes
Jul 9, 2025
D4N14L
approved these changes
Jul 9, 2025
75f064f to
396053e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the
azureBlobStorageConfigurationsection of the Rushbuild-cache.jsonschema to allow all valid values forloginFlowand to support configuration ofloginFlowFailoverto specify what order to try authentication providers in.Details
loginFlowsupports the following values:The
loginFlowFailoverfield is an object that maps validloginFlowtypes to otherloginFlowtypes as the next fallback option. If no entry is defined for a givenloginFlow, failures in that login flow will be terminal.How it was tested
Locally configured the
azure-blob-storageprovider inbuild-cache.jsonand tried out different values ofloginFlowandloginFlowFailoverwith therush update-cloud-credentials --interactivecommand.Impacted documentation
The schemas.